import type { RouteRecordRaw } from 'vue-router'

const router: RouteRecordRaw[] = [
  {
    path: '/news',
    component: () => import('../views/news/HomeView.vue'),
  },
  {
    path: '/news/:id',
    component: () => import('../views/news/DetailView.vue'),
  },
]

export { router as newsRouter }
